package com.chy.service.impl;

import com.chy.bean.User;
import com.chy.dao.LoginDao;
import com.chy.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("loginService")
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao loginDao;
    @Override
    public Boolean login(User user) {
        return loginDao.login(user);
    }
}
